package yf.mall.service;

import com.yf.annotation.LoginUserId;
import yf.mall.entity.CashApplyEntity;
import yf.mall.vo.CashApplyVo;
import com.yf.service.BaseService;

import javax.servlet.http.HttpServletResponse;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 提现申请表Service接口
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Tue Sep 29 10:16:21 CST 2020
 */
public interface CashApplyService extends BaseService<CashApplyEntity> {

    /************自动生成**************/
    List<CashApplyVo> findVo(CashApplyVo vo);

        CashApplyVo getVo(Long id);

     int updateVo(CashApplyVo vo);

       int saveVo(CashApplyVo vo);
    void updateCashApply(CashApplyVo cashApply);
    void downLoad(HttpServletResponse response, List<CashApplyVo> list);


    /***********BACK***********/




    /***********API***********/

    void apply(Long userId, CashApplyEntity cashApplyEntity);

    Map<String,Object> getApplyMoney(Long userId,int page,int limit,Boolean flag);

}
